<?php

namespace IDock\Printer\NonCar;

use IDock\Printer\BasePrinter;

/**
 * 询价结果
 */
class NonCarInquiryPrinter extends BasePrinter
{
    /**
     * 非车保单集合
     * @var array $nonCarInquirySingle
     */
    private $nonCarInquirySingleList = [];

    /**
     * 总保费
     * @var string $totalPremium
     */
    public $totalPremium = 0;

    public function noCarInquirySingleAppend(NonCarInquirySinglePrinter  $printer)
    {
        $this->nonCarInquirySingleList[] = $printer;
    }

    /**
     * @return array
     */
    public function getNonCarInquirySingle(): array
    {
        return $this->nonCarInquirySingleList;
    }

}
